export const tableColumns:any = [
    // {
    //     title: "序号",
    //     key: "merceryCode",
    //     dataIndex: "merceryCode",
    //     width: 150
    // },
    {
        title: "客户",
        key: "customName",
        dataIndex: "customName",
        width: 150
    },
    {
        title: "织造序号",
        key: "weaveCode",
        dataIndex: "weaveCode",
        width: 150
    },
    {
        title: "计划单号",
        key: "planOrderCode",
        dataIndex: "planOrderCode",
        width: 150
    },
    {
        title: "客户订单号",
        key: "customOrderNo",
        dataIndex: "customOrderNo",
        width: 150
    },
    {
        title: "坯布编号",
        key: "greyCode",
        dataIndex: "greyCode",
        width: 150
    },
    {
        title: "坯布名称",
        key: "greyName",
        dataIndex: "greyName",
        width: 150
    },
    {
        title: "坯布批号",
        key: "greyBatchNo",
        dataIndex: "greyBatchNo",
        width: 150
    },
    {
        title: "指定重量",
        key: "orderWeight",
        dataIndex: "orderWeight",
        width: 150
    },
    {
        title: "单价",
        key: "price",
        dataIndex: "price",
        width: 150
    },
    {
        title: "匹数",
        key: "pieceNum",
        dataIndex: "pieceNum",
        width: 150
    },
    {
        title: "金额",
        key: "amount",
        dataIndex: "amount",
        width: 150
    },
    {
        title: "抽针",
        key: "drawnNeedleState",
        dataIndex: "drawnNeedleState",
        slotName: "drawnNeedleState",
        width: 150
    },
    {
        title: "是否开幅",
        key: "widthState",
        dataIndex: "widthState",
        slotName: "widthState",
        width: 150
    },
    {
        title: "业务员",
        key: "businessPerson",
        dataIndex: "businessPerson",
        width: 150
    },

     {
        title: "开单人",
        key: "tabulationPerson",
        dataIndex: "tabulationPerson",
        width: 150
    },
     {
        title: "开单日期",
        key: "planDate",
        dataIndex: "planDate",
        width: 150
    }, 
    // {
    //     title: "订单状态",
    //     key: "planOrderState",
    //     dataIndex: "planOrderState",
    //     width: 150
    // },
    {
        title: "确认状态",
        key: "auditState",
        dataIndex: "auditState",
        slotName: "auditState",
        width: 150,fixed: 'right'
    },
    {
        title: "审核人",
        key: "auditPerson",
        dataIndex: "auditPerson",
        width: 150
    },
    {
        title: "操作",
        key: "id",
        dataIndex: "id",
        slotName: "action",
        width: 150, fixed: 'right'
    },
]

export const tableColumns1:any = [
    {
        title: "仓库名称",
        key: "warehouseName",
        dataIndex: "warehouseName",
        slotName:'warehouseName',
        width: 150
    },
    {
        title: "纱线单位",
        key: "yarnUnit",
        dataIndex: "yarnUnit",
        width: 150
    },
    {
        title: "供应商名称",
        key: "customName",
        dataIndex: "customName",
        slotName:'khmc',
        width: 150
    },
    {
        title: "试纱",
        key: "tryYarn",
        dataIndex: "tryYarn",
        slotName:'tryYarn',
        width: 150
    },
    {
        title: "原料编号",
        key: "rawmaterialCode",
        dataIndex: "rawmaterialCode",
        width: 150
    },
    {
        title: "原料名称",
        key: "rawmaterialName",
        dataIndex: "rawmaterialName",
        width: 150
    },
    {
        title: "色号",
        key: "colorCode",
        dataIndex: "colorCode",
        width: 150
    },
    {
        title: "色称",
        key: "colorName",
        dataIndex: "colorName",
        width: 150
    },
    {
        title: "是否外厂",
        key: "outerFirmState",
        dataIndex: "outerFirmState",
        width: 150
    },
    {
        title: "纱牌",
        key: "yarnCard",
        dataIndex: "yarnCard",
        width: 150
    },
    {
        title: "批次",
        key: "batch",
        dataIndex: "batch",
        width: 150,
        slotName:'batch'
    },
    {
        title: "等级",
        key: "level",
        dataIndex: "level",
        width: 150,
        slotName:'level'
    },
    {
        title: "纸管",
        key: "paperTube",
        dataIndex: "paperTube",
        width: 150
    },
    {
        title: "实际支数",
        key: "actualYarnCount",
        dataIndex: "actualYarnCount",
        width: 150
    },
    // {
    //     title: "用纱",
    //     key: "useYarnNum",
    //     dataIndex: "useYarnNum",
    //     width: 150
    // },
    {
        title: "用纱比例",
        key: "yarnProportion",
        dataIndex: "yarnProportion",
        width: 150,
        slotName:'yarnProportion'
    },
    {
        title: "织造损耗",
        key: "weaveLoss",
        dataIndex: "weaveLoss",
        width: 150,
        slotName:'weaveLoss'
    },
    {
        title: "纱损",
        key: "yarnLoss",
        dataIndex: "yarnLoss",
        width: 150
    },
    {
        title: "配纱数量",
        key: "withYarnNum",
        dataIndex: "withYarnNum",
        width: 150,
        slotName:'withYarnNum'
    },
    {
        title: "理论数量",
        key: "useYarnNum",
        dataIndex: "useYarnNum",
        width: 150,
        slotName:'useYarnNum'
        
    },
    {
        title: "可发纱量",
        key: "canDeliveryYarnNum",
        dataIndex: "canDeliveryYarnNum",
        width: 150
    },
    {
        title: "单位",
        key: "unit",
        dataIndex: "unit",
        width: 150
    },
    {
        title: "出库数量",
        key: "outboundNum",
        dataIndex: "outboundNum",
        width: 150
    },
    {
        title: "退纱数量",
        key: "backYarnNum",
        dataIndex: "backYarnNum",
        width: 150
    },
    {
        title: "欠数",
        key: "oweNum",
        dataIndex: "oweNum",
        width: 150
    },
    {
        title: "是否占用",
        key: "takeUpState",
        dataIndex: "takeUpState",
        width: 150
    },
]


export const tableColumns2:any = [
    {
        title: "变更日期",
        key: "changeTime",
        dataIndex: "changeTime",
        width: 150
    },
    {
        title: "变更人",
        key: "changeName",
        dataIndex: "changeName",
        width: 150
    },
    {
        title: "原数量",
        key: "originalNum",
        dataIndex: "originalNum",
        width: 150
    },    {
        title: "变更后数量",
        key: "updateNum",
        dataIndex: "updateNum",
        width: 150
    },
    {
        title: "原匹数",
        key: "originalHorseNum",
        dataIndex: "originalHorseNum",
        width: 150
    },
    {
        title: "变更后匹数",
        key: "updateHorseNum",
        dataIndex: "updateHorseNum",
        width: 150
    },
    // {
    //     title: "变更描述",
    //     key: "updateDescribe",
    //     dataIndex: "updateDescribe",
    //     width: 150
    // },
]